home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nvidia-common.config < prev    next >
Text File  |  2009-10-29  |  487b  |  20 lines

  1. #!/bin/bash -e
  2.  
  3. . /usr/share/debconf/confmodule
  4.  
  5. db_fset nvidia-common/obsolete-driver seen false
  6. db_fget nvidia-common/obsolete-driver seen || true
  7.  
  8. if [ "$RET" != "true" ]; then
  9.     if [ -x /usr/bin/nvidia-detector ]; then
  10.         LATEST=$(nvidia-detector)
  11.         if [ ${LATEST} != "none" ]; then 
  12.             db_subst nvidia-common/obsolete-driver latest $LATEST
  13.             db_input high nvidia-common/obsolete-driver || true
  14.             db_go || true
  15.         fi
  16.     fi
  17. fi
  18.  
  19. db_stop
  20.